<template>
  <a-select v-model="currentValue">
    <a-select-option v-for="item in coinList" :key="item" :value="item">
      {{ item }}
    </a-select-option>
  </a-select>
</template>

<script>
import { assetsCoinSelect } from "@/api/asset";
export default {
  data() {
    return {
      currentValue: "",
      coinList: [],
    };
  },
  mounted() {
    assetsCoinSelect().then((res) => {
      this.coinList = res.data;
      this.currentValue = res.data && res.data[0];
    });
  },
};
</script>

<style lang="scss" scoped></style>
